package com.beamfield.dao.device;

import com.beamfield.model.DeviceInspect;
import com.beamfield.model.DeviceInspectExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceInspectMapper {
    int countByExample(DeviceInspectExample example);

    int deleteByExample(DeviceInspectExample example);

    int insert(DeviceInspect record);

    int insertSelective(DeviceInspect record);

    List<DeviceInspect> selectByExample(DeviceInspectExample example);

    int updateByExampleSelective(@Param("record") DeviceInspect record, @Param("example") DeviceInspectExample example);

    int updateByExample(@Param("record") DeviceInspect record, @Param("example") DeviceInspectExample example);

    int updateByPrimaryKeySelective(DeviceInspect record);

    int updateByPrimaryKey(DeviceInspect record);

    List<DeviceInspect> selectPage(@Param("inbound_id") Long inbound_id,@Param("device_id") Long device_id,@Param("offset") String offset,@Param("limit") String limit);

    long countPage(@Param("inbound_id") Long inbound_id,@Param("device_id") Long device_id);
}